#include "StdAfx.h"
#include "SceneObject.h"
#include "Renderer.h"

CSceneObject::CSceneObject(void)
{
}


CSceneObject::~CSceneObject(void)
{
}

CVector3D CSceneObject::GetPosition() const
{
	if (m_spTimeController)
	{
		return m_spTimeController->EvaluatePosition(CRenderer::GetGlobalTime());
	}
	else
	{
		return m_vPosition;
	}
}